import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

import 'app_colors.dart';

final ThemeData appThemeData = ThemeData(
  visualDensity: VisualDensity.adaptivePlatformDensity,
  brightness: Brightness.light,
  primarySwatch: Colors.blue,
  appBarTheme: const AppBarTheme(
    backgroundColor: Color(0xFF4474FF),
    systemOverlayStyle: SystemUiOverlayStyle(
      statusBarColor: Colors.transparent,
      systemNavigationBarColor: bgColor,
      systemNavigationBarIconBrightness: Brightness.light,
      statusBarIconBrightness: Brightness.dark,
      statusBarBrightness: Brightness.light,
    ),
  ),
  bottomAppBarTheme: BottomAppBarTheme(
    elevation: 3.w,
    color: Colors.white,
    height: 66.w,
  ),
  scaffoldBackgroundColor: bgColor,
);

TextStyle get pageTitleTextStyle => TextStyle(
  color: Colors.white,
  fontSize: 18.sp,
  fontWeight: FontWeight.w600,
);

TextStyle get normalTextStyle => TextStyle(
  color: Color(0xFF333333),
  fontSize: 14.sp,
);

TextStyle get ingoreTextStyle => TextStyle(
  color: Color(0xFF666666),
  fontSize: 14.sp,
);

TextStyle get placeholdeTextStyle => TextStyle(
  color: Color(0xFF999999),
  fontSize: 14.sp,
);

TextStyle get noticeTextStyle => TextStyle(
  color: primaryColor,
  fontSize: 14.sp,
);




